package com.system.runtai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import com.system.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 公司公告
 * </p>
 *
 * @author runtai
 * @since 2024-03-29
 */
@Data
@ApiModel(description = "公司公告")
@TableName("company_announcements")
//@EqualsAndHashCode(callSuper = false)
public class CompanyAnnouncements extends BaseEntity {

    private static final long serialVersionUID = 1L;

//    /**
//     * 主键
//     */
//      @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;

    /**
     * 简介
     */
    @ApiModelProperty(value = "简介")
    @TableField("title")
    private String title;

    /**
     * 文章
     */
    @ApiModelProperty(value = "文章")
    @TableField("article")
    private String article;

    /**
     * 图片
     */
    @ApiModelProperty(value = "图片")
    @TableField("picture")
    private String picture;

    /**
     * 视频
     */
    @ApiModelProperty(value = "视频")
    @TableField("video")
    private String video;

    /**
     * 润泰公告：5
     */
    @ApiModelProperty(value = "润泰公告：5")
    @TableField("start")
    private Integer start;


    /**
     * 收藏
     */
    @TableField(exist = false)
    private Integer collect;

    @TableField(exist = false)
    private List<SecondaryCopywriter> secondaryCopywriterList;

//    /**
//     * 创建时间
//     */
//    private LocalDateTime createTime;
//
//    /**
//     * 更新时间
//     */
//    private LocalDateTime updateTime;


}
